package hu.pasq.dipterv.business.jms;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.jms.listener.adapter.MessageListenerAdapter;
import org.springframework.stereotype.Service;

@Service
public class MessageListener extends MessageListenerAdapter{
	
	private static final Logger logger = LoggerFactory.getLogger(MessageListener.class);
 
  public void handleMessage(String text) {
    logger.info("MSG arrived "+ text);
  }
}